Package es.csic.iiia.fabregues.dip.comm
Interface IComm
- All Known Implementing Classes:
DaideComm
public interface IComm
Communication interface. Notice that the most popular IComm is DaideComm.
- Author:
- Angela Fabregues, IIIA-CSIC, fabregues@iiia.csic.es
-
Method Summary
Modifier and Type Method Description java.lang.String
getName()
void
init(Comm comm, es.csic.iiia.fabregues.utilities.Interface log)
Init communicationvoid
receivingMessage(java.lang.String[] msg)
Handles the reception of a message using interface Languagevoid
sendMessage(java.lang.String[] msg)
Sends a message interface Languagevoid
stop()
Stop communication
-
Method Details
-
getName
java.lang.String getName() -
init
Init communication- Parameters:
comm
-log
-- Throws:
StartingCommException
-
sendMessage
Sends a message interface Language- Parameters:
msg
-- Throws:
CommException
-
receivingMessage
void receivingMessage(java.lang.String[] msg)Handles the reception of a message using interface Language- Parameters:
msg
-
-
stop
void stop()Stop communication
-